import { createApp } from 'vue'
import 'element-plus/theme-chalk/src/index.scss'
import './assets/scss/sass_index.scss'
import 'vxe-table/lib/style.css'
import router from './router'
import store from './store'
import { useTable } from './plugins/vxe-table'

import App from './App.vue'

import { initDynamicRoutes, init } from './utils'

initDynamicRoutes(() => {
    init()
    
    const app = createApp(App)

    app.use(router)

    app.use(store)

    app.use(useTable)

    app.mount('#app')
})
